﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Batch.aspx.cs" Inherits="Main_Master_Batch" Culture="en-GB" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControl" %>
<%@ Register Src="~/User Controls/PageHeading.ascx" TagName="heading" TagPrefix="acc" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>New Batch</title>
    <link href="../../Styles/accounts.css" rel="stylesheet" type="text/css" />
    <script type ="text/javascript">

        function CloseWindow() {
            window.close();
        }
    </script>
    
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <center>
    <asp:Panel ID="panelBatch" ScrollBars="Auto" runat="server" CssClass="modalPopup"  Width="70%" Height="80%">
    
    <div style="width:90%; margin-top:10px"; >    
        <table style="width:100%;">
            <tr>
                <td colspan="2" class="headtd" style="border-left:solid 1px #818181; border-right:solid 1px #818181; border-top:solid 1px #818181;">
                    New Batch No.
                    <div style="float:right;" >
                        <asp:LinkButton ID="lntBtnClose" runat="server" Text="Close" OnClientClick="return CloseWindow();"></asp:LinkButton>
                    </div>
                </td>                
            </tr>
            <tr>
                <td style="width:50%">
                    Batch No.
                </td>
                <td>
                    <asp:TextBox ID="txtBatchNo" runat="server" CssClass="input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Manufectured Date
                </td>
                <td>
                    <asp:TextBox ID="txtMFDDate" runat="server" CssClass="input"></asp:TextBox>
                    <AjaxControl:CalendarExtender ID="extCal" runat="server" TargetControlID="txtMFDDate"></AjaxControl:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td>
                    Expiry Date
                </td>
                <td>
                    <asp:TextBox ID="txtExpiryDate" runat="server" CssClass="input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Remarks
                </td>
                <td>
                    <asp:TextBox ID="txtRemarks" runat="server" CssClass="input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="text-align:right;">
                    <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="button" />
                </td>
                <td>
                    
                </td>
            </tr>            
        </table>        
    </div>    
    </asp:Panel>
    </center>
    <AjaxControl:ModalPopupExtender ID="extSalePerson" runat="server" TargetControlID="btnBatch" PopupControlID="panelBatch" BackgroundCssClass="modalBackground" CancelControlID="lntBtnClose"></AjaxControl:ModalPopupExtender>
    </form>
</body>
</html>
